home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
system
/
eu1_00.zip
/
WC.MAN
< prev
next >
Wrap
Text File
|
1980-01-01
|
2KB
|
55 lines
Eldar Utilities Ver.1.00
Word Counter
(C) Eldar Software 1990
WC (Word Count) utility counts the number of words, numbers,
alphanumeric words, different words, bytes and lines in text files.
It is also creates a dictionary for a text file. The dictionary is
printed in alphabetical order one word per line. WC works as a filter,
it reads a text file from standard input and outputs the results
and dictionary. If you don't need in dictionary use key 's' -
"suppress dictionary". The simplest way to use wc is
wc <text-file
To avoid a dictionary generation type:
wc s <text-file
To save result of work in a file:
wc <text-file >file-for-results
What can be obtained from the information of WC ?
1.You can check the level of your language. That is not
the grammatical correctness or spellchecking. One of the main
characteristics of text is the volume of dictionary, which can
be easily determined by WC. In fiction a large dictionary means
that your language is various and rich, and that is better that
a small dictionary. If you write the documentation, manuals etc.
the situation changes dramatically. Nobody interested how rich your
language is, the aim of any documentation is to be so clear, that
any one after reading it could use the program, mechanizm etc.
which it describes. The good dictionary for manual is 1-2 thousands
of words. That is specially important when writing manuals for very
wide and maybe international readers.
2.Programmers and documentation writers could estimate their
own productiveness for day or week basing on the number of lines and
words. These characteristics are more informative than volume in
kilobytes. Of course there is no sense to do that every day, but
it is interesting to do that time by time to see your own abilities.
This method have at least three advantages: it is very
easy to use and don't take much time; it allows you to judge
about your level; and it can not be used by your boss.
3.For large texts it can be used for quick spellcheking.
It is much easy to check a 1000 words dictionary than 50-60 Kb text,
at least on the last stages when text is practically correct.
Of course that is not all, what you can get from this information.